<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
/* @var think\Route $router */

$router->group('newsDeclare',function () use ($router){
})->middleware('auth');


//机构
$router->get('newsDeclare/institution', 'catchAdmin\newsDeclare\controller\Institution@index');//导入订单
$router->get('newsDeclare/institution/detail/:id', 'catchAdmin\newsDeclare\controller\Institution@detail');//导入订单
$router->post('newsDeclare/institution', 'catchAdmin\newsDeclare\controller\Institution@create');//导入订单
$router->put('newsDeclare/institution/:id', 'catchAdmin\newsDeclare\controller\Institution@update');//导入订单
$router->delete('newsDeclare/institution/:id', 'catchAdmin\newsDeclare\controller\Institution@delete');//导入订单
$router->get('newsDeclare/institution/counts', 'catchAdmin\newsDeclare\controller\Institution@counts');//导入订单

$router->post('newsDeclare/saveInstitutionReporter', 'catchAdmin\newsDeclare\controller\Institution@saveInstitutionReporter');//导入订单
$router->post('newsDeclare/declareInstitution', 'catchAdmin\newsDeclare\controller\Institution@declare');//导入订单

//评委
$router->get('newsDeclare/review', 'catchAdmin\newsDeclare\controller\Review@index');//导入订单
$router->get('newsDeclare/review/counts', 'catchAdmin\newsDeclare\controller\Review@counts');//导入订单
$router->get('newsDeclare/review/qurongtiNums', 'catchAdmin\newsDeclare\controller\Review@qurongtiNums');//导入订单
$router->post('newsDeclare/review/recommend/:id', 'catchAdmin\newsDeclare\controller\Review@recommend');//导入订单
$router->post('newsDeclare/review/batch_recommend', 'catchAdmin\newsDeclare\controller\Review@batchRecommend');//导入订单
$router->post('newsDeclare/review/unrecommend/:id', 'catchAdmin\newsDeclare\controller\Review@unrecommend');//导入订单
$router->post('newsDeclare/review/batch_unrecommend', 'catchAdmin\newsDeclare\controller\Review@batchUnrecommend');//导入订单
$router->get('newsDeclare/review/getHtml', 'catchAdmin\newsDeclare\controller\Review@getHtml');
$router->get('newsDeclare/review/:id', 'catchAdmin\newsDeclare\controller\Review@detail');//导入订单
$router->post('newsDeclare/reviewSubmit', 'catchAdmin\newsDeclare\controller\Review@reviewSubmit');//导入订单

//配置
$router->resource('newsDeclare/config1', 'catchAdmin\newsDeclare\controller\Config1');

//平台
$router->get('newsDeclare/platform', 'catchAdmin\newsDeclare\controller\Platform@index');//导入订单
$router->post('newsDeclare/platform', 'catchAdmin\newsDeclare\controller\Platform@create');//导入订单
$router->put('newsDeclare/platform/:id', 'catchAdmin\newsDeclare\controller\Platform@update');//导入订单
$router->delete('newsDeclare/platform/:id', 'catchAdmin\newsDeclare\controller\Platform@delete');//导入订单

//账号
$router->post('newsDeclare/acc/employeeList', 'catchAdmin\newsDeclare\controller\Acc@employeeList');
$router->post('newsDeclare/acc/createEmployee', 'catchAdmin\newsDeclare\controller\Acc@createEmployee');
$router->post('newsDeclare/acc/updateEmployee', 'catchAdmin\newsDeclare\controller\Acc@updateEmployee');
$router->post('newsDeclare/acc/delEmployee', 'catchAdmin\newsDeclare\controller\Acc@delEmployee');

$router->post('newsDeclare/acc/myRoles', 'catchAdmin\newsDeclare\controller\Acc@myRoles');

$router->get('newsDeclare/overview/sb', 'catchAdmin\newsDeclare\controller\Overview@sb');
$router->get('newsDeclare/overview/pwps', 'catchAdmin\newsDeclare\controller\Overview@pwps');
$router->post('newsDeclare/overview/export', 'catchAdmin\newsDeclare\controller\Overview@export');
$router->put('newsDeclare/overview/cancelSb/:id', 'catchAdmin\newsDeclare\controller\Overview@cancelSb');

$router->post('newsDeclare/upload/file', 'catchAdmin\system\controller\Upload@file');
$router->post('newsDeclare/upload/image', 'catchAdmin\system\controller\Upload@image');



